package com.itheima.boottlias.mapper;

import com.itheima.boottlias.domain.pojo.EmpLoginLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author ghy
 * @version 1.0
 * @since 2025-07-20 08:40
 */
@Mapper
public interface EmpLoginLogMapper {

    @Insert("insert into emp_login_log " +
            "    (username, password, login_time, is_success, jwt, cost_time)" +
            "values" +
            "    (#{username}, #{password}, #{loginTime}, #{isSuccess}, #{jwt}, #{costTime})")
    int insert(EmpLoginLog empLoginLog);

}
